package com.acme.bankapp.service;

import java.util.LinkedList;
import java.util.List;

import com.acme.bankapp.service.Email;
public class Queue{
	private List<Email> queue = new LinkedList();
	void add(Email mail) {
		queue.add(queue.size(),mail);
	}
	void delete() {
		queue.remove(0);
	}
	public List<Email> getQueue() {
		return this.queue;
	}
}
